package com.thinkit.bigdata.web.service.bus;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.model.bus.BusModel;
import com.thinkit.bigdata.web.model.bus.BusWorkTestCopy;
import com.thinkit.bigdata.web.model.bus.BusWorkTestExample;
import com.thinkit.bigdata.web.model.bus.BusWorkTestWithBLOBs;
import com.thinkit.bigdata.web.model.result.HtmlResult;

import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;

/**
 *
 * Created by hccl on 2018/10/12.
 */
public interface BusWorkTestService {

    HtmlResult getAddTestTaskMeg(HttpServletRequest request);

    List<BusWorkTestWithBLOBs> selectByExample(BusWorkTestExample example);

    HtmlResult selectByExample(Page<BusWorkTestWithBLOBs> page, BusWorkTestExample example) throws Exception;

    List<BusWorkTestCopy> selectWorkInfos(Map<String, Object> map);

    List<BusWorkTestCopy> selectWorkInfos(Page page, Map<String, Object> map);

    HtmlResult insertSelective(HttpServletRequest request);

    HtmlResult updateByPrimaryKeySelective(HttpServletRequest request);

    HtmlResult deleteByPrimaryKey(String ids);

    HtmlResult startTask(HttpServletRequest request) throws Exception;

    HtmlResult selectByExample(HttpServletRequest request);

    HtmlResult getAudioMessage(HttpServletRequest request, String logTxt);

    HtmlResult getAudioListById(HttpServletRequest request);

    HtmlResult getModelListById(HttpServletRequest request);

    HtmlResult getDetailData(HttpServletRequest request);

    HtmlResult getPhoneDetailData(HttpServletRequest request) throws InvocationTargetException, IllegalAccessException;

    Map<String, Object> getPhoneDetailDataQuery(HttpServletRequest request) throws InvocationTargetException, IllegalAccessException;

    List<BusModel> selectDateList(Map<String, Object> map);
}
